<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<?php $this->load->view('common/head');?>

<?php $this->load->view('common/header');?>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <?php $this->load->view('common/sidebar');?>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <?php $this->load->view('common/breadcrumbs');?>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">

                <?php $this->load->view('common/set');?>

						<div class="row">
							<div class="col-xs-12">
								<form accept-charset="UTF-8" id="new_add" action="<?php echo site_url(X_URL.'webset/webapiset');?>" class="form-horizontal" role="form" method="post" novalidate="novalidate">
								<?php echo csrf_hidden();?>										
									<div class="space-4"></div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="tengxun_ip_ak"> 腾讯地图AK </label>

										<div class="col-sm-9">
											<input type="text" id="tengxun_ip_ak" name="tengxun_ip_ak" placeholder="腾讯地图AK" class="col-xs-10 col-sm-5" value="<?php echo $this->config->item('tengxun_ip_ak');?>">
											<span class="help-block col-sm-reset inline col-xs-12 col-sm-7 hidden-480">腾讯地图AK，目前您的：<?php echo $this->myclass->user_baidu($this->config->item('tengxun_ip_ak'),4);?></span>
										</div>
									</div>
									<div class="space-4"></div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="zhifubao_ak"> 支付宝支付Api </label>

										<div class="col-sm-9">
											<input type="text" id="zhifubao_ak" name="zhifubao_ak" placeholder="支付宝支付Api" class="col-xs-10 col-sm-5" value="<?php echo $this->config->item('zhifubao_ak');?>">
											<span class="help-block col-sm-reset inline col-xs-12 col-sm-7 hidden-480">支付宝AK，目前您的：<?php echo $this->myclass->user_baidu($this->config->item('zhifubao_ak'),4);?></span>
										</div>
									</div>
									<div class="space-4"></div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="weixin_ak"> 微信支付Api </label>

										<div class="col-sm-9">
											<input type="text" id="weixin_ak" name="weixin_ak" placeholder="微信支付Api" class="col-xs-10 col-sm-5" value="<?php echo $this->config->item('weixin_ak');?>">
											<span class="help-block col-sm-reset inline col-xs-12 col-sm-7 hidden-480">微信支付Api，目前您的：<?php echo $this->myclass->user_baidu($this->config->item('weixin_ak'),4);?></span>
										</div>
									</div>
									<div class="space-4"></div>
									
									<div class="clearfix form-actions">
										<div class="col-md-offset-3 col-md-9">
											<button class="btn btn-info" type="submit">
												<i class="ace-icon fa fa-check bigger-110"></i>
												确认更新
											</button>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>					
			</div><!-- /.main-content -->

			<?php $this->load->view('common/footer');?>

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->
		<?php $this->load->view('common/footerjs');?>
		<!-- inline scripts related to this page -->
		</body>
		</html>
